package org.yzh.web.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.yzh.web.model.entity.BaseDeviceInfo;

import java.time.LocalDateTime;

/**
 * @author lsj
 * @date 2021/1/13 21:39
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DeviceLastLocation extends BaseDeviceInfo {
    @Schema(description = "纬度")
    private Float latitude;
    @Schema(description = "经度")
    private Float longitude;
    @Schema(description = "设备时间")
    private LocalDateTime deviceTime;
    @Schema(description = "1 运行中 0 停运中")
    private int runningState;

}
